import { pushResponseInterceptor } from 'lfun-bg-comp';

pushResponseInterceptor('get:/school/v1/institution/page', r => {
  return {
    items: [
      {
        id: 1,
        institution_name: '文化部',
        institution_en_name: 'CEDUCUL',
        institution_category: '事业单位',
        institution_type: '',
        fax_number: '020-256526256',
        email: 'fsdfds@odk.cc',
        contact_number: '0232156562',
        area_code: '020',
        institution_code: 'DKE1865656',
        create_date: '2020-10-23',
        leg_repr_name: 'XXX',
        party_leader_name: 'YYY',
        party_leader_position: 'FSDFSD',
        adm_leader_name: 'GGGG',
        adm_leader_position: 'FSDFSD',
        department_unit_number: 'DFG454353454',
        sy_zones: '铁西区',
        social_credit_code: 'DK156512656',
        postal_code: '4587236',
        detailed_address: 'FSDFSDFSDF234E23',
        related_license_upload: '',
        long: '201.22',
        lat: '65.33',
        urban_rural_nature: '城镇',
        location_economic_attribute: '镇',
        leg_repr_certificatenumber: 'DF1256565656',
        is_entity: '是',
        website_url: 'WWW.BDIUFD.COM',
        status: '',
        membership_no: 'DFF1565165656',
        membership_category: '行政',
      },
      {
        id: 2,
        institution_name: '文化部',
        institution_en_name: 'CEDUCUL',
        institution_category: '事业单位',
        institution_type: '',
        fax_number: '020-256526256',
        email: 'fsdfds@odk.cc',
        contact_number: '0232156562',
        area_code: '020',
        institution_code: 'DKE1865656',
        create_date: '2020-10-23',
        leg_repr_name: 'XXX',
        party_leader_name: 'YYY',
        party_leader_position: 'FSDFSD',
        adm_leader_name: 'GGGG',
        adm_leader_position: 'FSDFSD',
        department_unit_number: 'DFG454353454',
        sy_zones: '铁西区',
        social_credit_code: 'DK156512656',
        postal_code: '4587236',
        detailed_address: 'FSDFSDFSDF234E23',
        related_license_upload: '',
        long: '201.22',
        lat: '65.33',
        urban_rural_nature: '城镇',
        location_economic_attribute: '镇',
        leg_repr_certificatenumber: 'DF1256565656',
        is_entity: '是',
        website_url: 'WWW.BDIUFD.COM',
        status: '',
        membership_no: 'DFF1565165656',
        membership_category: '行政',
      },
    ],
  };
});

pushResponseInterceptor('get:/school/v1/institution/', r => {
  return {
    block: '210102',
    borough: '210102',
    institution_name: '文化部',
    institution_en_name: 'CEDUCUL',
    institution_category: '事业单位',
    institution_type: '',
    fax_number: '020-256526256',
    email: 'fsdfds@odk.cc',
    contact_number: '0232156562',
    area_code: '020',
    institution_code: 'DKE1865656',
    create_date: '2020-10-23',
    leg_repr_name: 'XXX',
    party_leader_name: 'YYY',
    party_leader_position: 'FSDFSD',
    adm_leader_name: 'GGGG',
    adm_leader_position: 'FSDFSD',
    department_unit_number: 'DFG454353454',
    sy_zones: '铁西区',
    social_credit_code: 'DK156512656',
    postal_code: '4587236',
    detailed_address: 'FSDFSDFSDF234E23',
    related_license_upload: '',
    long: '201.22',
    lat: '65.33',
    urban_rural_nature: '城镇',
    location_economic_attribute: '镇',
    leg_repr_certificatenumber: 'DF1256565656',
    is_entity: '是',
    website_url: 'WWW.BDIUFD.COM',
    status: '',
    membership_no: 'DFF1565165656',
    membership_category: '行政',
  };
});
